package com.yunxi.base.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.base.pojo.BaseApplyLevelVO;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author caoYong
 * @since 2019-07-23
 */
public interface BaseApplyLevelDubboService {

    BaseApplyLevelVO getById(String id) throws InvocationTargetException, IllegalAccessException;

    void saveOrUpdate(BaseApplyLevelVO baseApplyLevelVO) throws InvocationTargetException, IllegalAccessException;

    void removeById(String id);

    PageInfo<BaseApplyLevelVO> findPageByVO(BaseApplyLevelVO baseApplyLevelVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

    void removeByListVo(List<BaseApplyLevelVO> baseApplyLevelVOList) throws IllegalAccessException, InvocationTargetException, InstantiationException;

    List listByVo(BaseApplyLevelVO baseApplyLevelVO);
}
